package com.core.zyyz.pcmc.domain;

import java.util.Date;

import com.core.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 消息模板对象 pcmc_msg_template
 *
 * @author core
 * @date 2024-10-30
 */
public class PcmcMsgTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板编码 */
    private String templateCode;

    /** 模板类型（email,sms） */
    @Excel(name = "模板类型", readConverterExp = "e=mail,sms")
    private String templateType;

    /** 主题|标题 */
    @Excel(name = "主题|标题")
    private String SUBJECT;

    /** 接收人 */
    @Excel(name = "接收人")
    private String RECEIVER;

    /** 抄送人 */
    @Excel(name = "抄送人")
    private String carbonCopy;

    /** 内容 */
    @Excel(name = "内容")
    private String CONTENT;

    /** 是否启用（0：否，1: 是） */
    @Excel(name = "是否启用", readConverterExp = "0=：否，1:,是=")
    private String isEnabled;

    public String getREMARK() {
        return REMARK;
    }

    public void setREMARK(String REMARK) {
        this.REMARK = REMARK;
    }

    /** 备注 */
    @Excel(name = "备注")
    private String REMARK;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 消息类型(personal,system) */
    @Excel(name = "消息类型(personal,system)")
    private String localMessageType;

    public void setTemplateCode(String templateCode)
    {
        this.templateCode = templateCode;
    }

    public String getTemplateCode()
    {
        return templateCode;
    }
    public void setTemplateType(String templateType)
    {
        this.templateType = templateType;
    }

    public String getTemplateType()
    {
        return templateType;
    }
    public void setSUBJECT(String SUBJECT)
    {
        this.SUBJECT = SUBJECT;
    }

    public String getSUBJECT()
    {
        return SUBJECT;
    }
    public void setRECEIVER(String RECEIVER)
    {
        this.RECEIVER = RECEIVER;
    }

    public String getRECEIVER()
    {
        return RECEIVER;
    }
    public void setCarbonCopy(String carbonCopy)
    {
        this.carbonCopy = carbonCopy;
    }

    public String getCarbonCopy()
    {
        return carbonCopy;
    }
    public void setCONTENT(String CONTENT)
    {
        this.CONTENT = CONTENT;
    }



    public String getCONTENT()
    {
        return CONTENT;
    }
    public void setIsEnabled(String isEnabled)
    {
        this.isEnabled = isEnabled;
    }


    public String getIsEnabled()
    {
        return isEnabled;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setLocalMessageType(String localMessageType)
    {
        this.localMessageType = localMessageType;
    }

    public String getLocalMessageType()
    {
        return localMessageType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("templateCode", getTemplateCode())
                .append("templateType", getTemplateType())
                .append("SUBJECT", getSUBJECT())
                .append("RECEIVER", getRECEIVER())
                .append("carbonCopy", getCarbonCopy())
                .append("CONTENT", getCONTENT())
                .append("isEnabled", getIsEnabled())
                .append("REMARK", getREMARK())
                .append("createDate", getCreateDate())
                .append("createBy", getCreateBy())
                .append("localMessageType", getLocalMessageType())
                .toString();
    }
}
